Skip to content

[skip changelog] Fully document library layouts in specification #1458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2021
Merged

[skip changelog] Fully document library layouts in specification #1458

merged 1 commit into from
Sep 22, 2021

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Sep 20, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Docs update

  • What is the current behavior?

Arduino library authors may chose from multiple structures, each of which have different implications for the compilation
of the library source files. The specification explains this in a somewhat simplistic manner as "1.5 format" and
"1.0 format". That is sufficient for most, but does not provide a complete picture. Feedback indicated that more advanced
users were left wanting complete documentation

  • What is the new behavior?

More comprehensive documentation of the subject is provided.

The subject is not well suited for description via prose, so a chart and table are employed instead.

The chart is defined in the DOT graph description language, which is also used in the Pluggable Discovery Specification

No breaking change.

  • Other information:

Resolves #1013

Reference: https://github.com/arduino/arduino-cli/blob/master/arduino/libraries/loader.go

Arduino library authors may chose from multiple structures, each of which have different implications for the compilation
of the library source files. The specification explains this in a somewhat simplistic manner as "1.5 format" and
"1.0 format". That is sufficient for most, but does not provide a complete picture. Feedback indicated that more advanced
users were left wanting complete documentation, which is provided here.

The subject is not well suited for description via prose, so a chart and table are employed instead.

The chart is defined in the DOT graph description language.
@per1234 per1234 added type: enhancement Proposed improvement topic: documentation Related to documentation for the project labels Sep 20, 2021
@per1234 per1234 merged commit f759b08 into arduino:master Sep 22, 2021
@per1234 per1234 deleted the document-library-layout branch October 19, 2021 11:04
@per1234 per1234 self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: documentation Related to documentation for the project type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation: Unclear when a library is compiled as "new-style" or "legacy"
2 participants